/* General Styles */


    body {
        background-color: var(--light-color);
        font-family: var(--body-font);
        font-size: 16px;
        font-weight: 400;
        line-height: 164%;
        letter-spacing: 0.32px;
        color: var(--dark-color);
        margin: 0;
        background-color: #ececec;
      }


/* Header */
.shop-header {
    background: linear-gradient(to right, #8d8d8d, #001a35);
    color: white;
    padding: 90px;
    position: relative;
    top: 70px;
}

.shop-header h1 {
    padding-top: 10px;
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
    margin-top: 50px
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;
    position: relative;
    top: 70px;
}

.filter-container input, 
.filter-container select {
    padding: 8px;
    font-size: 16px;}

#search-box, #category-filter, #price-filter {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#price-value {
    font-weight: bold;
    color: #333;
}

/* Product Grid */
.product-grid {
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    padding: 20px;
    position: relative;
    margin-bottom: 50px;
    margin-top: 70px;
    text-align: center;
}

/* Product Card */
.product-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
}


.product-card img {
    width: 100%; /* Ensures the image takes full width of the card */
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures the image maintains aspect ratio while filling the space */
    border-radius: 10px;
}


.product-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product-card p {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.add-to-cart {
    background: linear-gradient(to right, #8d8d8d, #001a35);
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #000000;
}

#product-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-header {
        padding: 60px 20px;
    }
    .shop-header h1 {
        font-size: 1.8rem;
    }
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .shop-header {
        padding: 40px 15px;
    }
    .shop-header h1 {
        font-size: 1.5rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .shop-header {
        padding: 30px 10px;
    }
    .shop-header h1 {
        font-size: 1.2rem;
    }
    .filter-container {
        flex-direction: column;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .product-card img {
        height: 200px;
    }
    .product-card h3 {
        font-size: 16px;
    }
}
